package controllers;

import models.Event;
import models.University;
import play.mvc.Controller;

public class Events extends Controller{
	
	public static void createEvent(String title,String place,Boolean outcomers,University uni){
		Event event=new Event (title,place, outcomers,uni);
		event.save();
		uni.events.add(event);
		uni.save();
		
		
	}

}
